$min-height: 618px;
$background-color: #101010;
$text-color: #ADADAD;
$title-color: #FFFFFF;
$detail-text-color: #E1E1E1;
$hover-color: #FFFFFF;
$hover-background-color: #82308E;
// 冬青黑体
@mixin hiragino-sans-gb {
  font-family: 'Hiragino Sans GB', 'Helvetica Neue', Helvetica, 'PingFang SC', '\5FAE\8F6F\96C5\9ED1', Tahoma, Arial, sans-serif;
}

// 苹方简纤细体
@mixin pingfangsc-thin {
  font-family: 'PingFangSC-Thin', 'Helvetica Neue', Helvetica, 'PingFang SC', '\5FAE\8F6F\96C5\9ED1', Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  transition: color .4s, background-color .4s;
}

@font-face {
  font-family: 'iconfont';
  /* project id 803090 */
  src: url('//at.alicdn.com/t/font_803090_mjmkeniump.eot');
  src: url('//at.alicdn.com/t/font_803090_mjmkeniump.eot?#iefix') format('embedded-opentype'), url('//at.alicdn.com/t/font_803090_mjmkeniump.woff') format('woff'), url('//at.alicdn.com/t/font_803090_mjmkeniump.ttf') format('truetype'), url('//at.alicdn.com/t/font_803090_mjmkeniump.svg#iconfont') format('svg');
}

.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

html {
  min-width: 1366px;
  overflow-x: auto !important;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', '\5FAE\8F6F\96C5\9ED1', Tahoma, Arial, sans-serif;
  color: $text-color;
  background-color: $background-color;
}

.nav-wrap {
  position: fixed;
  top: 0;
  right: 0;
  width: 165px;
  height: 100%;
  padding-left: 2px;
  user-select: none;
  background: linear-gradient(to bottom, #673A86, #000000);
  z-index: 100;
  .blcak-background {
    width: 100%;
    height: 100%;
    background-color: #000000;
  }
  .nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: $min-height;
    @include hiragino-sans-gb;
    .logo {
      padding: 20px 0 28px 2px;
      text-align: center;
    }
    .nav-list {
      li {
        margin-bottom: 9px;
        padding: 11px 29px 11px 0;
        text-align: right;
        cursor: pointer;
      }
      li:hover,
      .active {
        color: $hover-color;
        background-color: $hover-background-color;
      }
    }
    .footer {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 0 11px 30px 11px;
      text-align: right;
      .nav-lang-list {
        li {
          margin-bottom: 9px;
          padding: 3px 18px 3px 0;
          @include pingfangsc-thin;
          color: #6A6A6A;
          a {
            color: #6A6A6A;
          }
        }
        .active {
          a {
            color: $detail-text-color;
          }
        }
      }
      .hr-wrap {
        padding: 3px 0 15px 0;
        .hr {
          height: 1px;
          background: url('img/nav-dashed.png') repeat-x;
        }
      }
      .icon-list {
        display: flex;
        justify-content: flex-end;
        padding-right: 18px;
        .icon {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-left: 8px;
          width: 34px;
          height: 34px;
          cursor: pointer;
          border-radius: 2px;
          &:hover {
            background-color: $hover-background-color;
            i {
              color: $hover-color;
            }
          }
        }
        i {
          color: $detail-text-color;
          font-size: 26px;
        }
      }
    }
  }
}

.layer-wrap {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-right: 165px;
  z-index: 200;
  .layer {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
  }
  .wechat {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    .item {
      margin: 0 65px;
      background-color: #000000;
      box-shadow: 0px 0px 27.74px 10.26px rgba(0, 0, 0, 0.5);
      .image {
        overflow: hidden;
        border-radius: 4px;
        img {
          vertical-align: bottom;
        }
      }
      .text {
        position: relative;
        height: 42px;
        text-align: center;
        line-height: 40px;
        &:after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          height: 2px;
          background: radial-gradient(circle, #673A86, #000000);
        }
      }
    }
  }
}

.section {
  min-height: $min-height;
  padding-right: 165px;
  .section-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background-color: #272727;
  }
  ::-webkit-scrollbar-thumb {
    background: #673A86;
  }
}

.section-index {
  user-select: none;
  background: url('img/index-bg.png') no-repeat center center;
  background-size: cover;
  .section-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 74%, rgba(0, 0, 0, 1));
    img {
      @media screen and (max-width: 1440px) {
        width: 450px;
      }
      @media screen and (max-width: 1366px) {
        width: 380px;
      }
    }
  }
}

.section-new {
  .new-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    .new-list {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 14px 0;
      flex-basis: 0;
      li {
        flex: 1;
        display: flex;
        max-height: 140px;
        .item {
          position: relative;
          flex: 1;
          display: flex;
          max-width: 1000px;
          margin: auto;
          padding: 0 78px 0 26px;
          overflow: hidden;
          cursor: pointer;
          transition: transform .4s, opacity .4s;
          .arrow {
            opacity: 0;
            width: 52px;
            margin: auto;
            @media screen and (max-width: 1366px) {
              font-size: 18px;
            }
          }
          .date {
            width: 164px;
            margin: auto;
            font-size: 20px;
            color: $detail-text-color;
            @media screen and (max-width: 1366px) {
              font-size: 18px;
            }
          }
          .info {
            flex: 1;
            margin: auto;
            overflow: hidden;
            line-height: 30px;
            @media screen and (max-width: 1440px) {
              line-height: 27px;
            }
            @media screen and (max-width: 1366px) {
              line-height: 22px;
            }
            .info-title {
              padding-bottom: 3px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              font-size: 18px; // font-weight: bold;
              color: $detail-text-color;
              @media screen and (max-width: 1366px) {
                font-size: 15px;
              }
            }
            .info-abstract {
              display: -webkit-box;
              overflow: hidden;
              font-size: 15px;
              text-overflow: ellipsis;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              @media screen and (max-width: 1366px) {
                font-size: 12px;
              }
            }
          }
          &:hover {
            transform: translateX(20px);
            .date {
              color: $hover-color;
            }
            .info {
              .info-title,
              .info-abstract {
                color: $hover-color;
              }
            }
            .arrow {
              color: $hover-color;
              opacity: 1;
            }
          }
        }
      }
    }
    .new-paging {
      display: flex;
      justify-content: center;
      flex-basis: 108px;
      @media screen and (max-width: 1440px) {
        flex-basis: 90px;
      }
      @media screen and (max-width: 1366px) {
        flex-basis: 70px;
      }
    }
  }
}

.section-work {
  .work {
    position: relative;
    padding: 20px 0;
    height: 100%;
    .bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -10;
      div {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        filter: blur(15px);
        opacity: .2;
      }
    }
    .intro-wrap {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      height: 100%;
      .intro {
        position: relative;
        flex: 1;
        width: 604px;
        max-height: 876px;
        background: url('img/work-box.png') no-repeat;
        background-size: 100% 100%;
        filter: drop-shadow(0 0 10px #000000);
        z-index: 10;
        .content {
          position: absolute;
          width: 100%;
          height: 100%;
          -webkit-mask-image: url('img/work-box.png');
          -webkit-mask-size: 100% 100%;
          .detail {
            position: absolute;
            width: 100%;
            height: 100%;
            padding: 110px 0 0 72px;
            cursor: default;
            .detail-title {
              position: relative;
              height: 52px;
              line-height: 50px;
              font-size: 30px; // font-weight: bold;
              color: $title-color;
              white-space: nowrap;
              background: linear-gradient(to right, #000000, #673A86);
              div {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
              }
              &:after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 2px;
                background: linear-gradient(to right, #673A86, #272727);
              }
            }
            .detail-subtitle-and-text-wrap {
              position: relative;
              .detail-subtitle-and-text {
                position: absolute;
                .detail-subtitle {
                  width: 376px;
                  min-height: 18px;
                  line-height: 18px;
                  margin-top: 6px;
                  font-size: 16px;
                  color: $detail-text-color;
                }
                .detail-text-wrap {
                  margin-top: 34px;
                  line-height: 28px;
                  color: $text-color;
                  .detail-text {
                    width: 374px;
                    height: 220px;
                    padding-right: 24px;
                    overflow-y: auto;
                    a {
                      color: #9052d3;
                    }
                    @media screen and (max-width: 1440px) {
                      width: 312px;
                      height: 158px;
                      padding-right: 18px;
                    }
                    @media screen and (max-width: 1366px) {
                      width: 302px;
                      padding-right: 16px;
                    }
                  }
                  .detail-text-big {
                    font-size: 20px;
                    color: $detail-text-color;
                  }
                  .detail-text-interval {
                    height: 8px;
                  }
                }
              }
            }
          }
          .shading {
            position: absolute;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 100% 100%;
            opacity: .2;
            z-index: -1;
          }
        }
      }
    }
    .show {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 78px 153px 78px 23px;
      z-index: -8;
      .image {
        position: relative;
        flex: 1;
        width: 100%;
        max-height: 760px;
        background-color: $background-color;
        box-shadow: 0px 0px 27.74px 10.26px rgba(0, 0, 0, 0.5);
        .swiper-container {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          .swiper-slide {
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
          }
        }
      }
    }
    .swiper-operate-wrap {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 78px 23px 78px 23px;
      .swiper-operate {
        display: flex;
        flex-direction: column;
        position: relative;
        flex: 1;
        max-height: 760px;
        padding-right: 130px;
        .swiper-area {
          position: relative;
          flex: 1;
          .page-number {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            text-align: center;
            font-size: 20px;
            color: #FFFFFF;
            line-height: 44px;
            text-shadow: 0px 0px 20px #000000;
            cursor: default;
            user-select: none;
          }
        }
        .swiper-sidebar {
          position: absolute;
          top: 0;
          right: 0;
          display: flex;
          flex-direction: column;
          justify-content: center;
          width: 130px;
          height: 100%;
          background-color: $background-color;
          .btn-wrap {
            position: absolute;
            left: 0;
            display: flex;
            justify-content: center;
            width: 100%;
            text-align: center;
            &.btn-prev-wrap {
              top: 0;
            }
            &.btn-next-wrap {
              bottom: 0;
            }
            .btn {
              display: flex;
              justify-content: center;
              align-items: center;
              width: 44px;
              height: 44px;
              cursor: pointer;
              border-radius: 2px;
              user-select: none;
              &:not(:last-child) {
                margin-right: 2px;
              }
              &:hover {
                background-color: $hover-background-color;
                i {
                  color: $hover-color;
                }
              }
            }
          }
          .swiper-container {
            width: 100%;
            height: 623px;
            padding: 0 9px;
            .swiper-slide {
              position: relative;
              height: 70px;
              background-repeat: no-repeat;
              background-position: center center;
              background-size: cover;
              .mask-border {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 4px solid transparent;
                background-color: rgba(0, 0, 0, .5);
                transition: border .5s, background-color .5s;
                cursor: pointer;
                &:hover,
                &.active {
                  border: 2px solid #673A86;
                  background-color: transparent;
                }
              }
            }
          }
        }
      }
    }
  }
}

.section-about-us-first {
  .intro {
    flex: 1;
    display: flex;
    flex-basis: 0;
    .img {
      flex: 0 0 50%;
      display: flex;
      .paging-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .paging {
          flex: 1;
          position: relative;
          width: 100%;
          max-height: 753px;
          background-color: #090909;
          box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.4);
          .swiper-pagination {
            position: absolute;
            top: 0;
            right: 20px;
            height: 100%;
            width: 12px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .swiper-pagination-bullet {
              display: block;
              margin: 14px 0;
              width: 12px;
              height: 12px;
              background: rgba(225, 225, 225, .3);
              opacity: 1;
            }
            .swiper-pagination-bullet-active {
              background: #82308E;
            }
          }
          &:after {
            content: '';
            position: absolute;
            top: 0;
            right: -52px;
            width: 55px;
            height: 100%;
            background: url('img/about-us-shadow.png') no-repeat;
          }
        }
      }
      .lightbox-wrap {
        flex: 0 1 706px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .lightbox {
          position: relative;
          flex: 1;
          width: 100%;
          max-height: 398px;
          background-color: $background-color;
          box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.4);
          .swiper-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            .swiper-slide {
              background-repeat: no-repeat;
              background-position: center center;
              background-size: cover;
            }
          }
          @media screen and (max-width: 1550px) {
            max-height: 295px;
          }
        }
        .lightbox-text {
          position: relative;
          height: 52px;
          width: 100%;
          div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            color: $detail-text-color;
            cursor: default;
          }
          &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: radial-gradient(circle, #673A86, #101010);
          }
        }
        .lightbox-btn-wrap {
          display: flex;
          justify-content: center;
          .lightbox-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 34px;
            height: 34px;
            cursor: pointer;
            border-radius: 2px;
            user-select: none;
            &:hover {
              background-color: $hover-background-color;
              i {
                color: $hover-color;
              }
            }
          }
          .lightbox-btn-top {
            margin-bottom: 6px;
          }
          .lightbox-btn-bottom {
            margin-top: 6px;
          }
        }
        @media screen and (max-width: 1800px) {
          flex: 0 1 650px;
        }
        @media screen and (max-width: 1659px) {
          flex: 0 1 540px;
        }
        @media screen and (max-width: 1440px) {
          flex: 0 1 500px;
        }
      }
    }
    .text-wrap {
      position: relative;
      flex: 0 0 50%;
      display: flex;
      padding-left: 100px;
      @media screen and (max-width: 1550px) {
        padding-left: 56px;
      }
      .text {
        width: 574px;
        max-height: 460px;
        margin: auto 0;
        padding-right: 28px;
        overflow-y: auto;
        text-align: justify;
        line-height: 32px;
        cursor: default;
        @media screen and (max-width: 1550px) {
          width: 454px;
          max-height: 362px;
        }
        @media screen and (max-width: 1366px) {
          width: 416px;
        }
        p {
          margin-top: -8px;
          margin-bottom: 32px;
          &:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}

.section-about-us-second {
  .intro-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 27px;
    .intro {
      position: relative;
      flex: 1;
      max-height: 973px;
      .photo {
        position: absolute;
        top: 0;
        left: 109px;
        width: 100%;
        height: 100%;
        background: url('img/photo/about-us/ceo.jpg') no-repeat center center;
        background-size: cover;
        background-position: center top;
        @media screen and (max-width: 1440px) {
          left: 50px;
        }
      }
      .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 41.5%;
        height: 100%;
        display: flex;
        background-color: #000000;
        box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.4);
        &:after {
          content: '';
          position: absolute;
          top: 0;
          right: 0;
          width: 2px;
          height: 100%;
          background: linear-gradient(to bottom, #673A86, #000000);
        }
        .text {
          margin: auto;
          width: 482px;
          max-height: 590px;
          padding-right: 28px;
          overflow-y: auto;
          text-align: justify;
          line-height: 32px;
          cursor: default;
          @media screen and (max-width: 1550px) {
            max-height: 432px;
            width: 388px;
          }
          @media screen and (max-width: 1366px) {
            max-height: 370px;
            width: 354px;
          }
        }
      }
    }
  }
}

.section-contact-us {
  background-size: cover;
  .contact-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 1200px;
    margin: auto;
    padding: 0 0 189px 0;
    .contact-content {
      display: flex;
      .company-location {
        position: relative;
        padding: 0 30px 0 152px;
        .item {
          display: flex;
          &:first-child {
            padding-bottom: 64px;
          }
          .box {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 84px;
            height: 84px;
            font-size: 20px;
            color: #FFFFFF;
            background-color: #673A86;
            border-radius: 2px;
          }
          .text {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 440px;
            margin-left: 54px;
          }
        }
        &:after {
          content: '';
          position: absolute;
          top: 0;
          right: 0;
          width: 2px;
          height: 100%;
          background: radial-gradient(circle, #673A86, #101010);
        }
      }
      .contact-info {
        margin-left: 72px;
        .email,
        .weibo {
          .iconfont {
            font-size: 56px;
            color: #FFFFFF;
          }
        }
        .email {
          margin-top: -18px;
          text-align: center;
          padding-left: 4px;
          p {
            text-align: left;
            margin-bottom: 16px;
          }
        }
        .weibo {
          margin-top: 38px;
          text-align: center;
          .link {
            font-size: 0;
            a {
              display: inline-block;
              min-width: 100px;
              height: 32px;
              padding: 0 10px;
              text-align: center;
              font-size: 16px;
              line-height: 32px;
              color: $detail-text-color;
              background-color: #000000;
              border-radius: 5px;
              &:first-child {
                margin-right: 16px;
              }
              &:hover {
                color: $hover-color;
                background-color: $hover-background-color;
              }
            }
          }
        }
      }
      p {
        margin: 0;
      }
    }
    .qrcode {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 55px;
      @media screen and (max-width: 1440px) {
        margin-top: 25px;
      }
      .item {
        margin: 0 50px;
        background-color: #000000;
        box-shadow: 0px 0px 27.74px 10.26px rgba(0, 0, 0, 0.5);
        .image {
          overflow: hidden;
          border-radius: 4px;
          img {
            width: 198px;
            height: 198px;
            vertical-align: bottom;
            @media screen and (max-width: 1600px) {
              width: 145px;
              height: 145px;
            }
          }
        }
        .text {
          position: relative;
          height: 31.5px;
          font-size: 12px;
          text-align: center;
          line-height: 29.5px;
          &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: radial-gradient(circle, #673A86, #000000);
          }
        }
      }
    }
  }
  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    @include pingfangsc-thin;
    .logo {
      margin-bottom: 23px;
    }
    .footer-bar {
      height: 63px;
      line-height: 63px;
      background-color: #090909;
    }
  }
}

.detail-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  .title {
    position: relative;
    width: 100%;
    flex-basis: 80px;
    max-width: 1000px;
    padding-top: 40px;
    margin: auto;
    font-size: 30px;
    @include hiragino-sans-gb;
    text-align: center;
    color: $title-color;
    white-space: nowrap;
    user-select: none;
    cursor: default;
    @media screen and (max-width: 1440px) {
      flex-basis: 70px;
      padding-top: 30px;
      font-size: 27px;
    }
    @media screen and (max-width: 1366px) {
      flex-basis: 60px;
      padding-top: 25px;
      font-size: 22px;
    }
    &:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: radial-gradient(circle, #673A86, #101010);
    }
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .3s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.fast-fade-enter-active,
.fast-fade-leave-active {
  transition: opacity .2s;
}

.fast-fade-enter,
.fast-fade-leave-to {
  opacity: 0;
}

.el-pagination {
  padding: 0;
  font-weight: 400;
}

.el-pager li {
  padding: 0;
}

.el-pagination.is-background .el-pager li {
  width: 34px;
  height: 34px;
  margin: 0 3px 0 0;
  border-radius: 2px;
  font-size: 16px;
  line-height: 34px;
  background-color: transparent;
  color: $text-color;
}

.el-pagination.is-background .el-pager li:not(.disabled):hover,
.el-pagination.is-background .el-pager li:not(.disabled).active {
  color: $hover-color;
  background-color: $hover-background-color;
}